package bom.service.i.organization;

import bom.pojo.organization.Tree;
import bom.pojo.organization.User;

import java.util.List;
import java.util.Map;

/**
 * @Author: Fancyears·Maylos·Maywas
 * @Description:
 * @Date: Created in  2018/11/27 15:00
 * @Modified By:
 */
public interface TreeService {
    boolean delete(Tree entity) throws Exception;

    List<Tree> loadUserTree(User user);

    Map<String, Object> mainTree();

    Tree get(Tree entity);

    Map<String,Object> loadUserTree();

    List<Tree> query(Object o);
}
